
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-url" class="form-control form-control" name="row[url]" type="text" value="{$row.url}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Openid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-openid" class="form-control form-control" name="row[openid]" type="text" value="{$row.openid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" class="form-control form-control" name="row[phone]" type="text" value="{$row.phone}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">地区:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::cxselect('ajax/area', ['province','city','area'], ['province'=>$row.shen, 'city'=>$row.shi,'area'=>$row.xian])}
        </div>
    </div>
    <!--   <div class="form-group">
          <label class="control-label col-xs-12 col-sm-2">{:__('Shen')}:</label>
          <div class="col-xs-12 col-sm-8">
              <input id="c-shen" class="form-control form-control" name="row[shen]" type="number" value="{$row.shen}">
          </div>
      </div>
      <div class="form-group">
          <label class="control-label col-xs-12 col-sm-2">{:__('Shi')}:</label>
          <div class="col-xs-12 col-sm-8">
              <input id="c-shi" class="form-control form-control" name="row[shi]" type="number" value="{$row.shi}">
          </div>
      </div>
      <div class="form-group">
          <label class="control-label col-xs-12 col-sm-2">{:__('Xian')}:</label>
          <div class="col-xs-12 col-sm-8">
              <input id="c-xian" class="form-control form-control" name="row[xian]" type="number" value="{$row.xian}">
          </div>
      </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control form-control" name="row[address]" type="text" value="{$row.address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type" class="form-control form-control" name="row[type]" type="text" value="{$row.type}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
